/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  font-family: 'Apple Pingfang' , 'Microsoft Yahei', sans-serif;
}

.panel {
  height: 150px;
  width: 150px;
}

.popdiv {
  transform: scale(0.1);
  transform-origin: bottom;
  opacity: 0;
  text-align: center;
}

.popovernav {
  position: absolute;
  top: 45px;
  right: -2px;
  width: 231px;
  height: 240px;
  padding: 21px 26px 0 26px;
  opacity: 0;
  background: url(./menu@1x.png);
  transform: scale(.1);
  transform-origin: 50% 10px;
}

.popoverli {
  height: 25px;
  font-family: 'Apple Pingfang' , 'Microsoft Yahei', sans-serif;
}

.popoverli a{
  color: white;
}

.popoverul {
  font: 16px 'Source Sans Pro', 'HelveticaNeue', 'Apple Pingfang' , 'Microsoft Yahei', sans-serif;
  color: #496281;
  list-style: none;
  overflow: hidden;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 0px;
}

.dot {
  height: 20px;
  width: 20px;
  border-radius: 10px;
  position: absolute;
  bottom: 0px;
  background: black;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

#ex1Slider .slider-selection {
  background: rgb(128,128,128);
}